import i18n from '@/lang'

// 审核详情信息列表表头
export const taskVerifyDetailColumns = [
  {
    title: i18n.t('verifyLevel'),
    dataIndex: 'level',
    scopedSlots: { customRender: 'verifyLevel' },
    special: true,
    width: '12%'
  }, {
    title: i18n.t('auditRoles'),
    dataIndex: 'role',
    scopedSlots: { customRender: 'auditRoles' },
    special: true,
    width: '12%'
  }, {
    title: i18n.t('auditUsers'),
    dataIndex: 'user',
    scopedSlots: { customRender: 'auditUsers' },
    special: true,
    width: '12%'
  }, {
    title: i18n.t('operationResult'),
    dataIndex: 'auditStatus',
    scopedSlots: { customRender: 'operationResult' },
    special: true,
    width: '12%'
  }, {
    title: i18n.t('attachment'),
    dataIndex: 'attachment',
    scopedSlots: { customRender: 'attachment' },
    special: true,
    width: '6%'
  }, {
    title: i18n.t('remark'),
    dataIndex: 'auditMessage',
    scopedSlots: { customRender: 'remark' },
    special: true,
    width: '28%'
  }, {
    title: i18n.t('verifyTime'),
    dataIndex: 'auditTime',
    scopedSlots: { customRender: 'verifyTime' },
    special: true,
    width: '15%'
  }]

// 车型服务列表表头
export const vehicleServiceTbColumns = [{
  title: i18n.t('serviceCode'),
  dataIndex: 'serviceCode',
  scopedSlots: { customRender: 'serviceCode' },
  width: '22%'
}, {
  title: i18n.t('serviceName'),
  dataIndex: 'serviceName',
  scopedSlots: { customRender: 'serviceName' },
  width: '22%'
}, {
  title: i18n.t('presetOrNot'),
  dataIndex: 'enableState',
  scopedSlots: { customRender: 'presetOrNot' },
  width: '14%'
}, {
  title: i18n.t('whetherSold'),
  dataIndex: 'saleState',
  scopedSlots: { customRender: 'whetherSold' },
  width: '14%'
}, {
  title: i18n.t('whetherActivated'),
  dataIndex: 'activeState',
  scopedSlots: { customRender: 'whetherActivated' },
  width: '14%'
}, {
  title: i18n.t('versionDepend'),
  dataIndex: 'versionDepend',
  scopedSlots: { customRender: 'versionDepend' },
  width: '14%'
}]
